package xiangmu.schoolpaper.mapper;

import org.apache.ibatis.annotations.Mapper;
import xiangmu.schoolpaper.pojo.DTO.HorizontalCompareStudentsDTO;
import xiangmu.schoolpaper.pojo.DTO.VertialComparisonDTO;
import xiangmu.schoolpaper.pojo.DTO.VerticalComparisonStudentIdDTO;

import java.util.List;

@Mapper
public interface VerticalComparisonMapper {

    List<VertialComparisonDTO> getAllStudentsByTeacher(Integer teacher);

    List<HorizontalCompareStudentsDTO> getAllPaperByStudent(String studentId);


    List<Integer> getAllYearsByTeacher(Integer teacher);

    List<HorizontalCompareStudentsDTO> getAllPaperByTeacher(Integer teacher, Integer year);
}
